<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Spring Twitter</title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js">
    </script>
</head>
<body>
    <fieldset>
        <legend>Hello new user!</legend>
        <p>
            <label for="j_username">What's your name?</label>
            <br/>
            <input type="text" name="j_username" id="j_username"/>
            <span id="checkname"></span>
        </p>

        <p>
            <label for="j_password">Password:</label>
            <br/>
            <input type="password" name="j_password" id="j_password"/>
        </p>

        <p>
            <button id="register" type="button">Register me!</button>
        </p>
    </fieldset>
	<p>
		<a href="login">Go back to login page</a>
	</p>
	<script type="text/javascript" src="signup.js"></script>
	<script type="text/javascript">
		$(document).ready(ready);
	</script>
</body>
</html>